from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as ec
from selenium.webdriver.support.wait import WebDriverWait

driver = webdriver.Chrome()
driver.get('http://139.129.26.163/index.php')
a = WebDriverWait(driver,5).until(ec.presence_of_all_elements_located((By.CSS_SELECTOR,'div[class="all_ms"]')))
f1 = a[0]
list1 = f1.find_elements(By.TAG_NAME,'a')
# print(list1)
# b = iter(list1)
# print(next(b).text)
textlist = [i.text for i in list1]
print(textlist)
